import request from "../../request";
import { type AxiosRequestConfig } from "axios";
import { type DeepRequired, type Notices } from "../../interface";

/**
 * 保存或更新 Notices 信息
 * /notices
 */
export function postNotices(input: Notices, config?: AxiosRequestConfig) {
    return request.post<DeepRequired<boolean>>(`/notices`, input, config);
}
